// pages/shouye/shouye.js
Page({

    /**
     * 页面的初始数据
     */
    data: {
        types: ["科技","财经","娱乐","新闻","NBA","军事","视频","体育"],
        navData: ["手机","电脑","互联网"],
        contentData: [
            {title:"美国“最高制裁”来了来了来了来了来了来了来了来了，伊朗央行：黔驴技穷？",resoure:"凤凰网-科技",date:"9月21日",imgUrl:"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fk-static.xsfaya.com%2Fuploads%2Fallimg%2F210922%2F162H440R-1.png&refer=http%3A%2F%2Fk-static.xsfaya.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1634893957&t=41cebc07527e0e93b4ed297c56f07988"},
            {title:"美国“最高制裁”来了，伊朗央行：黔驴技穷？",resoure:"凤凰网-科技",date:"9月21日",imgUrl:"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fk-static.xsfaya.com%2Fuploads%2Fallimg%2F210922%2F162H440R-1.png&refer=http%3A%2F%2Fk-static.xsfaya.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1634893957&t=41cebc07527e0e93b4ed297c56f07988"},
            {title:"美国“最高制裁”来了，伊朗央行：黔驴技穷？",resoure:"凤凰网-科技",date:"9月21日",imgUrl:"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fk-static.xsfaya.com%2Fuploads%2Fallimg%2F210922%2F162H440R-1.png&refer=http%3A%2F%2Fk-static.xsfaya.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1634893957&t=41cebc07527e0e93b4ed297c56f07988"},
            {title:"美国“最高制裁”来了，伊朗央行：黔驴技穷？",resoure:"凤凰网-科技",date:"9月21日",imgUrl:"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fk-static.xsfaya.com%2Fuploads%2Fallimg%2F210922%2F162H440R-1.png&refer=http%3A%2F%2Fk-static.xsfaya.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1634893957&t=41cebc07527e0e93b4ed297c56f07988"},
            {title:"美国“最高制裁”来了，伊朗央行：黔驴技穷？",resoure:"凤凰网-科技",date:"9月21日",imgUrl:"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fk-static.xsfaya.com%2Fuploads%2Fallimg%2F210922%2F162H440R-1.png&refer=http%3A%2F%2Fk-static.xsfaya.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1634893957&t=41cebc07527e0e93b4ed297c56f07988"},
            {title:"美国“最高制裁”来了，伊朗央行：黔驴技穷？",resoure:"凤凰网-科技",date:"9月21日",imgUrl:"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fk-static.xsfaya.com%2Fuploads%2Fallimg%2F210922%2F162H440R-1.png&refer=http%3A%2F%2Fk-static.xsfaya.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1634893957&t=41cebc07527e0e93b4ed297c56f07988"},
            {title:"美国“最高制裁”来了，伊朗央行：黔驴技穷？",resoure:"凤凰网-科技",date:"9月21日",imgUrl:"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fk-static.xsfaya.com%2Fuploads%2Fallimg%2F210922%2F162H440R-1.png&refer=http%3A%2F%2Fk-static.xsfaya.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1634893957&t=41cebc07527e0e93b4ed297c56f07988"}
        ]
    },

    /**
     * 生命周期函数--监听页面加载
     */
    onLoad: function (options) {

    },

    /**
     * 生命周期函数--监听页面初次渲染完成
     */
    onReady: function () {

    },

    /**
     * 生命周期函数--监听页面显示
     */
    onShow: function () {

    },

    /**
     * 生命周期函数--监听页面隐藏
     */
    onHide: function () {

    },

    /**
     * 生命周期函数--监听页面卸载
     */
    onUnload: function () {

    },

    /**
     * 页面相关事件处理函数--监听用户下拉动作
     */
    onPullDownRefresh: function () {

    },

    /**
     * 页面上拉触底事件的处理函数
     */
    onReachBottom: function () {

    },

    /**
     * 用户点击右上角分享
     */
    onShareAppMessage: function () {

    },
    search: function(){
        wx.navigateTo({
          url: '/pages/search/search',
        })
    },
    jumpColl: function(){
        wx.navigateTo({
          url: '/pages/detail/detail',
        })
    }
})